package com.djzz.app.common_util.utils;

import android.util.Log;

/**
 * Created by d on 2017/8/31.
 */

public abstract class LogUtil {

    private static String LOG_TAG = "log";
    private static boolean DEBUG = true;

    public static void e(String log){
            if(DEBUG) Log.e(LOG_TAG, log);
        }

    public static void i(String log) {
            if (DEBUG) Log.i(LOG_TAG, log);
        }

    public static void d(String log) {
            if (DEBUG) Log.d(LOG_TAG, log);
        }

    public static void v(String log) {
            if (DEBUG) Log.v(LOG_TAG, log);
        }

    public static void i(String tag, String log) {
            if (DEBUG) Log.i(tag, log);
        }

    public static void d(String tag, String log) {
            if (DEBUG) Log.d(tag, log);
        }

    public static void e(String tag, String log) {
            if (DEBUG) Log.e(tag, log);
        }

}
